﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using COFE.Core.Lister;
using System.IO;
using System.IO.IsolatedStorage;

namespace COFE.IO.ISG
{
    public class IsolatedStorageStreamProvider : StreamProviderBase<ISGEntryInfo>
    {
        #region Constructor

        public IsolatedStorageStreamProvider(IDirectoryLister lister)
            : base(lister)
        {
            _getStream = (file, mode, access, share) =>
            {
                return new IsolatedStorageFileStream(file.RelativePath, mode, access, file.StorageFile);
            };
        }

        #endregion

        #region Methods

        #endregion

        #region Data

        #endregion

        #region Public Properties

        #endregion
    }
}
